<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <meta name="applicable-device" content="mobile"/>
    <meta name="apple-mobile-web-app-capable" content="no"/>
    <!--<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">-->
    <meta name="format-detection" content="telephone=no"/>

    <link rel="stylesheet" href="css/all.css"/>
    <script src="lib/flexible.js"></script>
    <script src="lib/jquery-1.9.1.min.js"></script>
    <script src="lib/jquery.cookie.js"></script>
</head>
<body class="">
<!-- header -->
    <header class="header2 back-fff">
        <a href="JavaScript:history.go(-1)" class="return"><img src="img/234d_03.png" /></a>
        <span class="word">我的评论</span>
    </header>
<!-- /header -->
<div class="placeholder"></div>
<!-- bodyer -->
<div class="my-comment">
    <div class="tab l-f">
        <span class="tab-son l-f-g1"><span class="p show">收到的评论</span></span>
        <span class="tab-son l-f-g1"><span class="p">发出的评论</span></span>
    </div>
    <div class="bodyer">
        <div class="receive-comment emit-comment con-show">
            <div class="comment-content">
                <div class="content-title fl_cd">
                    <img class="name-img" src="img/tmp/fff23_10.png" alt="">
                <span class="pinglun">
                    <span class="pinglun1">摄影师呜呜</span>
                </span>
                <span class="date">
                    <span class="date-moon">7-22</span>
                    <span class="date-day">13:56</span>
                </span>
                </div>
                <div class="content-content">
                    <div class="receive-word">郝立拴：你摄影水平真高在下该败下风在下该败下风在下该败下风</div>
                    <div class="emit-word">你摄影水平真高在下该败下风在下该败下风在下该败下风</div>
                    <div class="original fn-toe">原文：月下摄影记录-摄sdfdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsds影师麦克</div>
                </div>
            </div>
            <div class="comment-content">
                <div class="content-title fl_cd">
                    <img class="name-img" src="img/tmp/fff23_10.png" alt="">
                <span class="pinglun">
                    <span class="pinglun1">摄影师呜呜</span>
                </span>
                <span class="date">
                    <span class="date-moon">7-22</span>
                    <span class="date-day">13:56</span>
                </span>
                </div>
                <div class="content-content">
                    <div class="receive-word">郝立拴：你摄影水平真高在下该败下风在下该败下风在下该败下风</div>
                    <div class="emit-word">你摄影水平真高在下该败下风在下该败下风在下该败下风</div>
                    <div class="original fn-toe">原文：月下摄影记录-摄sdfdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsds影师麦克</div>
                </div>
            </div>

        </div>
        <div class="emit-comment ">
            <div class="comment-content">
                <div class="content-title fl_cd">
                    <img class="name-img" src="img/tmp/fff23_10.png" alt="">
                    <span class="pinglun">
                        <span class="pinglun1">评论</span>
                        <span class="pinglun2">摄影师xxx</span>
                        <span class="pinglun1">说：</span>
                    </span>
                    <span class="date">
                        <span class="date-moon">7-22</span>
                        <span class="date-day">13:56</span>
                    </span>
                </div>
                <div class="content-content">
                    <div class="emit-word">你摄影水平真高在下该败下风在下该败下风在下该败下风</div>
                    <div class="original fn-toe">原文：月下摄影记录-摄sdfdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsds影师麦克</div>
                </div>
            </div>
            <div class="comment-content">
                <div class="content-title fl_cd">
                    <img class="name-img" src="img/tmp/fff23_10.png" alt="">
                    <span class="pinglun">
                        <span class="pinglun1">评论</span>
                        <span class="pinglun2">摄影师xxx</span>
                        <span class="pinglun1">说：</span>
                    </span>
                    <span class="date">
                        <span class="date-moon">7-22</span>
                        <span class="date-day">13:56</span>
                    </span>
                </div>
                <div class="content-content">
                    <div class="emit-word">你摄影水平真高在下该败下风在下该败下风在下该败下风</div>
                    <div class="original fn-toe">原文：月下摄影记录-摄sdfdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsdsds影师麦克</div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- /bodyer -->
<script src="js/hgNews.min.js"></script>
<script>
    $(".tab .tab-son").on("touchend",function(){
        hgNews.tab.call(this,$(".emit-comment"));
    })
</script>
<!--获取评论内容-->
<script>
    $.ajax({
        type: 'POST',
        url:hgNews.api.commentMy+"&session_id="+ $.cookie("session_id"),
        dataType:"json",
        error: function (jqXHR, textStatus, errorThrown) {//进行错误信息的处理
            /*弹出jqXHR对象的信息*/
            console.log(jqXHR.responseText + "-" + jqXHR.status + "-" + jqXHR.readyState + "-" + jqXHR.statusText);
            /*弹出其他两个参数的信息*/
            console.log(textStatus);
            console.log(errorThrown);
        },
        success: function(data){
            console.log(data);
            if(data.status == 1){

            }else
            {
                alert("data.status="+data.status);
            }
        }
    });
    $.ajax({
        type: 'POST',
        url:hgNews.api.myComment+"&session_id="+ $.cookie("session_id"),
        dataType:"json",
        error: function (jqXHR, textStatus, errorThrown) {//进行错误信息的处理
            /*弹出jqXHR对象的信息*/
            console.log(jqXHR.responseText + "-" + jqXHR.status + "-" + jqXHR.readyState + "-" + jqXHR.statusText);
            /*弹出其他两个参数的信息*/
            console.log(textStatus);
            console.log(errorThrown);
        },
        success: function(data){
            console.log(data);
            if(data.status == 1){

            }else
            {
                alert("data.status="+data.status);
            }
        }
    });
</script>
</body>
</html>
